{ The following fields only exist for QuickTime 2.0 and greater }
matrixFlags: SInt8; { high bit set if 2x resize }
matrixType: SInt8;
dstRect: Rect; { only valid for simple transforms }
{ The following fields only exist for QuickTime 2.1 and greater }
majorSourceChangeSeed: UInt16;
minorSourceChangeSeed: UInt16;
sourceData: CDSequenceDataSourcePtr;
maskRegion: RgnHandle;
END;
CONST
matrixFlagScale2x = $00000080;
matrixFlagScale1x = $00000040;
matrixFlagScaleHalf = $00000020;
FUNCTION CDGetCodecInfo(storage: Handle; VAR info: CodecInfo): ComponentResult;
FUNCTION CDGetCompressionTime(storage: Handle; src: PixMapHandle; {CONST}VAR srcRect: Rect; depth: INTEGER; VAR spatialQuality: CodecQ; VAR temporalQuality: CodecQ; VAR time: LONGINT): ComponentResult;
FUNCTION CDGetMaxCompressionSize(storage: Handle; src: PixMapHandle; {CONST}VAR srcRect: Rect; depth: INTEGER; quality: CodecQ; VAR size: LONGINT): ComponentResult;
FUNCTION CDPreCompress(storage: Handle; VAR params: CodecCompressParams): ComponentResult;
FUNCTION CDBandCompress(storage: Handle; VAR params: CodecCompressParams): ComponentResult;
FUNCTION CDPreDecompress(storage: Handle; VAR params: CodecDecompressParams): ComponentResult;
FUNCTION CDBandDecompress(storage: Handle; VAR params: CodecDecompressParams): ComponentResult;
FUNCTION CDCodecBusy(storage: Handle; seq: ImageSequence): ComponentResult;
FUNCTION CDGetCompressedImageSize(storage: Handle; desc: ImageDescriptionHandle; data: Ptr; bufferSize: LONGINT; dataProc: ICMDataProcRecordPtr; VAR dataSize: LONGINT): ComponentResult;
FUNCTION CDGetSimilarity(storage: Handle; src: PixMapHandle; {CONST}VAR srcRect: Rect; desc: ImageDescriptionHandle; data: Ptr; VAR similarity: Fixed): ComponentResult;